import { createApp } from 'vue'
import router from './routes'
import App from './App.vue'

import {components, plugins} from './element';

const app = createApp(App)

app.use(router)

components.forEach(component => {
	app.component(component.name, component)
})

plugins.forEach(plugin => {
	app.use(plugin)
})

app.mount('#app')
